package com.rightsidetech.activity.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * mt_user_join_activity_apply
 * @author 
 */
public class MtUserJoinActivityApply implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 活动id
     */
    private Long actId;

    /**
     * 活动名称
     */
    private String actName;

    /**
     * 活动开始时间
     */
    private Date actStart;

    /**
     * 活动结束时间
     */
    private Date actEnd;

    /**
     * 用户id
     */
    private Long userAccountId;

    /**
     * 用户名
     */
    private String userLoginName;

    /**
     * 用户联系电话
     */
    private String userPhone;

    /**
     * 参加时间
     */
    private Date joinTime;

    /**
     * 状态:-1取消报名0报名
     */
    private Short status;

    /**
     * 驳回原因
     */
    private String rejectReason;

    /**
     * 审核人id
     */
    private Long verifyId;

    /**
     * 审核人
     */
    private String verifyName;

    /**
     * 审核时间
     */
    private Date verifyAt;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActId() {
        return actId;
    }

    public void setActId(Long actId) {
        this.actId = actId;
    }

    public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public Date getActStart() {
        return actStart;
    }

    public void setActStart(Date actStart) {
        this.actStart = actStart;
    }

    public Date getActEnd() {
        return actEnd;
    }

    public void setActEnd(Date actEnd) {
        this.actEnd = actEnd;
    }

    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }

    public String getUserLoginName() {
        return userLoginName;
    }

    public void setUserLoginName(String userLoginName) {
        this.userLoginName = userLoginName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MtUserJoinActivityApply other = (MtUserJoinActivityApply) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getActId() == null ? other.getActId() == null : this.getActId().equals(other.getActId()))
            && (this.getActName() == null ? other.getActName() == null : this.getActName().equals(other.getActName()))
            && (this.getActStart() == null ? other.getActStart() == null : this.getActStart().equals(other.getActStart()))
            && (this.getActEnd() == null ? other.getActEnd() == null : this.getActEnd().equals(other.getActEnd()))
            && (this.getUserAccountId() == null ? other.getUserAccountId() == null : this.getUserAccountId().equals(other.getUserAccountId()))
            && (this.getUserLoginName() == null ? other.getUserLoginName() == null : this.getUserLoginName().equals(other.getUserLoginName()))
            && (this.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone()))
            && (this.getJoinTime() == null ? other.getJoinTime() == null : this.getJoinTime().equals(other.getJoinTime()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getActId() == null) ? 0 : getActId().hashCode());
        result = prime * result + ((getActName() == null) ? 0 : getActName().hashCode());
        result = prime * result + ((getActStart() == null) ? 0 : getActStart().hashCode());
        result = prime * result + ((getActEnd() == null) ? 0 : getActEnd().hashCode());
        result = prime * result + ((getUserAccountId() == null) ? 0 : getUserAccountId().hashCode());
        result = prime * result + ((getUserLoginName() == null) ? 0 : getUserLoginName().hashCode());
        result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode());
        result = prime * result + ((getJoinTime() == null) ? 0 : getJoinTime().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", actId=").append(actId);
        sb.append(", actName=").append(actName);
        sb.append(", actStart=").append(actStart);
        sb.append(", actEnd=").append(actEnd);
        sb.append(", userAccountId=").append(userAccountId);
        sb.append(", userLoginName=").append(userLoginName);
        sb.append(", userPhone=").append(userPhone);
        sb.append(", joinTime=").append(joinTime);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public Long getVerifyId() {
        return verifyId;
    }

    public void setVerifyId(Long verifyId) {
        this.verifyId = verifyId;
    }

    public String getVerifyName() {
        return verifyName;
    }

    public void setVerifyName(String verifyName) {
        this.verifyName = verifyName;
    }

    public Date getVerifyAt() {
        return verifyAt;
    }

    public void setVerifyAt(Date verifyAt) {
        this.verifyAt = verifyAt;
    }
}